package com.itheima;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

public class Test03 {
    public static void main(String[] args) {
        LocalDateTime time = LocalDateTime.of(1996, 11, 25, 00, 00, 00);
        LocalDate time1 = time.toLocalDate();
        LocalTime time2 = time.toLocalTime();
        int dayOfYear = time1.getDayOfYear();
        int minute = time2.getMinute();
        System.out.println("minute = " + minute);
        System.out.println("dayOfYear= " + dayOfYear);


        System.out.println("time2 = " + time2);
        System.out.println("time1 = " + time1);
    }
}
